export const fengwenxinVars = {
  idType: [
    {label: "统一社会信用代码", value: "1"},
    {label: "身份证", value: "2"},
  ],
  realStatus: [
    {label: "未实名", value: "0"},
    {label: "已实名", value: "1"},
  ],
  bussStatus: [
    {label: "存续", value: "1"},
    {label: "注销", value: "2"},
  ],
}


export const findLabel = (key, value) => {
  const values = fengwenxinVars[key];
  const  res = values.find(item=>item.value === String(value));
  return   res.label || '-'
}
